projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d002e5
)
mm-possibly-verify-or-decrypt should only issue errors when decrypting
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 26 Sep 2019 17:51:23 +0000
(19:51 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 26 Sep 2019 17:51:23 +0000
(19:51 +0200)
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Only do
the warning about failed decryption when we're handing encrypted
parts, not when doing verification.
lisp/gnus/mm-decode.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/mm-decode.el
b/lisp/gnus/mm-decode.el
index 42bf5f8081cc9ae5321243fb35155831020c3d77..d9c14120c2f0741648ff51076f000400892c8f92 100644
(file)
--- a/
lisp/gnus/mm-decode.el
+++ b/
lisp/gnus/mm-decode.el
@@
-1745,6
+1745,7
@@
If RECURSIVE, search recursively."
(let ((info (get-text-property 0 'gnus-info (car mm-security-handle))))
(if (or (not info)
(equal info "")
+ (equal subtype "encrypted")
(member "OK" (split-string info "\n")))
parts
;; We had an error during decryption. Report what it is.